package utils

import "data-process/logger"

func MapToValues(data map[string]interface{}, keys []string) []interface{} {
	result := make([]interface{}, 0, len(data))

	for _, item := range keys {
		result = append(result, data[item])
	}
	logger.Infof("生成的数据：%v\n", result)
	return result
}
